<template>
	<div v-if="stores!=null&& stores.length>=0" class="floor clearfix">
		<div class="floor-container">
			<ul class="ul-store">
				<li @click="$router.push('/BusinessDetail/'+s.id)" v-for="s in stores" class="store">
					<div class="img-div">
						<img v-bind:src="FileUrl+s.image" onerror="this.src=config.NoImg" />
					</div>
					<div class="con">
						<p class='title'>{{s.name}}</p>
						<p class='ads'>{{s.address}}</p>
					</div>
				</li>
			</ul>
		</div>
	</div>

</template>

<script>
	export default {
		data() {
			return {
				FileUrl: config.FileUrl
			}
		},
		props: ["stores"]
	}
</script>

<style>
</style>
